function minibar(json) {
var numposts = 180;
   var imagenpodefecto = "URL_imagen";
   var lenresumen = 100;
  var entry, posttitle, posturl, postimg, postcontent, salida;
  for (var i = 0; i < numposts; i++) {
    entry = json.feed.entry[i];
    posttitle = entry.title.$t;
    if (i == json.feed.entry.length) { break; }
    for (var k = 0; k < entry.link.length; k++) {
      if (entry.link[k].rel == 'alternate') {
        posturl = entry.link[k].href;
        break;     }    }
    postcontent = "";  

  if ("media$thumbnail" in entry) { 
      postimg = entry.media$thumbnail.url;
      postimg = postimg.replace("s72-c","s200");

    } else {      postimg = imagenpodefecto;    }

salida = "<div class='recomendadosdc'>";
salida += "<a href='" + posturl + "' title='"+ posttitle+"' target='_blank'><img src='" + postimg + "' /></a>";
salida += "<h6><a href='" + posturl + "' title='"+ posttitle+"' target='_blank'>" + posttitle + "</a></h6>";
salida += "</div>";
document.write(salida);
  }
}


function minientrada(json) {
var numposts = 180;
   var imagenpodefecto = "URL_imagen";
   var lenresumen = 100;
  var entry, posttitle, posturl, postimg, postcontent, salida;
  for (var i = 0; i < numposts; i++) {
    entry = json.feed.entry[i];
    posttitle = entry.title.$t;
    if (i == json.feed.entry.length) { break; }
    for (var k = 0; k < entry.link.length; k++) {
      if (entry.link[k].rel == 'alternate') {
        posturl = entry.link[k].href;
        break;     }    }
    postcontent = "";  

  if ("media$thumbnail" in entry) { 
      postimg = entry.media$thumbnail.url;
      postimg = postimg.replace("s72-c","s200");

    } else {      postimg = imagenpodefecto;    }

salida = "<div class='minidc'>";
salida += "<a href='" + posturl + "' title='"+ posttitle+"' target='_blank'><img src='" + postimg + "' /></a>";
salida += "<h6><a href='" + posturl + "' title='"+ posttitle+"' target='_blank'>" + posttitle + "</a></h6>";
salida += "</div>";
document.write(salida);
  }
}